package com.goodving.guli.model;

import java.util.Date;

/**
 * Created by john on 2015/11/24.
 */
public class C1222e {
    public static final int f6442a = -1;
    public static final int f6443b = 0;
    public static final int f6444c = 1;
    private int f6445d;
    private long f6446e;
    private long f6447f;
    private int f6448g;

    public C1222e() {
        this.f6445d = f6442a;
        this.f6446e = -1;
        this.f6447f = -1;
        this.f6448g = f6442a;
    }

    public C1222e(long j, int i) {
        this.f6445d = f6442a;
        this.f6446e = -1;
        this.f6447f = -1;
        this.f6448g = f6442a;
        this.f6446e = j;
        this.f6447f = j;
        this.f6445d = i;
    }

    public C1222e(long j, int i, int i2) {
        this.f6445d = f6442a;
        this.f6446e = -1;
        this.f6447f = -1;
        this.f6448g = f6442a;
        this.f6446e = j;
        this.f6447f = j;
        this.f6445d = i;
        this.f6448g = i2;
    }

    public C1222e(long j, long j2, int i, int i2) {
        this.f6445d = f6442a;
        this.f6446e = -1;
        this.f6447f = -1;
        this.f6448g = f6442a;
        this.f6446e = j;
        this.f6447f = j2;
        this.f6445d = i;
        this.f6448g = i2;
    }

    public int m11346a() {
        return this.f6448g;
    }

    public void m11347a(int i) {
        this.f6448g = i;
    }

    public void m11348a(long j) {
        this.f6446e = j;
    }

    public long m11349b() {
        return this.f6446e;
    }

    public void m11350b(int i) {
        this.f6445d = i;
    }

    public void m11351b(long j) {
        this.f6447f = j;
    }

    public long m11352c() {
        return this.f6447f;
    }

    public int m11353d() {
        return this.f6445d;
    }

    public boolean m11354e() {
        return this.f6445d == f6444c && this.f6446e != -1;
    }

    public String toString() {
        return "SensorHubInfo:\ntype:" + this.f6445d + "\n" + "useTimestamp:" + this.f6446e + "(" + new Date(this.f6446e).toString() + ")" + "\n" + "syncTimestamp:" + this.f6447f + "(" + new Date(this.f6447f).toString() + ")\n" + "baseStep:" + this.f6448g;
    }
}

